<template>
    <div class="texbox">

      <Erazi :arr="arr"/>
    </div>
     
</template>

<script>
import Erazi from "./erazi.vue"
export default {
    components:{
      Erazi
    },
    data(){
      return{
        arr:[
          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},
          
          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},
          
          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},
          
          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},

          {imga:"/image/Details/touxiang.jpg",sp1:"***fxp",sp2:"2021/06/4",imgb:"/image/Details/haoping.jpg",ptext:"多次享用，优质产品。准时给力！"},
            
        ]
      }
    }
}
</script>

<style scoped>

.texbox{
  width: 100%;
  margin-top: 0.33rem;
  /* overflow-y: auto; */
}

.box-top{
  width: 100%;
  height: 0.4rem;
  /* background-color:paleturquoise; */
  display: flex;
}
 .img-box{
  width: 0.4rem;
  height: 0.4rem;
  /* background-color:red; */
  margin-top: 20%;
  margin-top: 0rem;
  

} 
.nam-box{
  width: 1rem;
  height: 0.4rem;
  /* background-color:red; */
  margin-left: 0.1rem;
}
.data-box{
   width: 1rem;
  height: 0.4rem;
  /* background-color:hotpink; */
  margin-left: 1rem;
  text-align: right;
  color: #888888;
}
.nam{
    width: 2.5rem;
    height: 0.4rem;
    /* background-color:salmon; */
}
.img-box>img{
   width: 0.4rem;
  height: 0.4rem;
    border-radius: 50%;
}
.box-center{
  width: 100%;
  height: 0.3rem;
  /* background-color:springgreen; */
}
.haoping-box{
  width: 30%;
  height: 100%;
  background-color: #fff;
}
.haoping-box>img{
    width: 40%;
  height: 80%;
  margin-left:0.4rem;
}
.box-bottom>p{
  width: 100%;
  height: 0.4rem;
  margin-left: 0.4rem;
  line-height: 0.3rem;
}
</style>